<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<%@ page session ="true" %>
<%@ taglib uri="oastaglib" prefix="oas"%>
<html>
<head>
    <title>Online Attendance System</title>
    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/bootstrap/dist/css/bootstrap.min.css" /> ">
    <script type="text/javascript" src="<c:url value="/resources/js/jquery/dist/jquery.min.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/resources/bootstrap/dist/js/bootstrap.min.js"/>"></script>
</head>
<body style="background-color:#eeeeee">
<oas:nav></oas:nav>
<oas:content>
<div style="background-color:#ffffff; width:90%; margin:0 auto; padding:15px 10px;">
	<h1>更新员工信息</h1>
<sf:form method="POST" modelAttribute="employee">
    <sf:errors path="*" cssClass="error"/><br/><br/>
	全名：<sf:input path="fullName" /><sf:errors path="fullName" cssClass="error"/><br/><br/>
	邮箱：<sf:input path="email" /><sf:errors path="email" cssClass="error"/>  <br/><br/>
    电话号码：<sf:input path="phone" /><sf:errors path="phone" cssClass="error"/>  <br/><br/>
    年龄：<sf:input path="age" /><sf:errors path="age" cssClass="error"/><br/><br/>
    性别：<sf:select path="gender" itemValue="${employee.gender}">
            <sf:options items="${genderList}"/>
         </sf:select><br/><br/>
    <input type="submit" value="修改" />
    <a href="<c:url value="/employee" />">返回</a>
 </sf:form>
 </div>
 </oas:content>
  <oas:footer></oas:footer> 
</body>
</html>